#!/bin/sh

# um-common.sh: Common functions to automation scripts.
# Note: Specify ALL full paths.

# iHook_Output: Sends output to stdout iff iHook is running. Used for iHook
#               control statements like %HIDE.

iHook_Output() {
	if /bin/test -n "$(/bin/ps -Awww | /usr/bin/grep -i ihook |\
	                   /usr/bin/grep -v grep)"; then
		/bin/echo $*
	fi
}
